package com.dai.chun.dao.dao;

import java.sql.SQLException;
import java.util.List;

import com.dai.chun.dao.model.Admin;
import com.dai.chun.util.PageSplitUtil;

public interface AdminDao {

	int findAllCount() throws SQLException;

	List<Admin> listAdmin(PageSplitUtil psu);

	Admin findAdminById(int admin_id);

	int updateAdmin(Admin admin) throws SQLException;

	int delAdmin(int admin_id) throws SQLException;

	Boolean save(Admin admin) throws SQLException;

	Admin logIn(Admin admin);

}
